package com.qiaofang.collectmanage.service.common.bean;


import java.io.Serializable;


public class ProxyIP implements Serializable {

    private long id;

    private String ip;

    private String port;

    private String source;

    private long responseTime;

    private long createTime;
    private long validTime;
    private long lastSuccessfulTime;

    public long getValidTime() {
        return validTime;
    }

    public void setValidTime(long validTime) {
        this.validTime = validTime;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public long getResponseTime() {
        return responseTime;
    }

    public void setResponseTime(long responseTime) {
        this.responseTime = responseTime;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getLastSuccessfulTime() {
        return lastSuccessfulTime;
    }

    public void setLastSuccessfulTime(long lastSuccessfulTime) {
        this.lastSuccessfulTime = lastSuccessfulTime;
    }

    @Override
    public String toString() {
        return "ProxyIP{" +
                "id=" + id +
                ", ip='" + ip + '\'' +
                ", port='" + port + '\'' +
                ", source='" + source + '\'' +
                ", responseTime=" + responseTime +
                ", createTime=" + createTime +
                ", lastSuccessfulTime=" + lastSuccessfulTime +
                '}';
    }
}
